
<div class="row">
	<div class="col-md-12">
		<div class="page-header">
		<h1>Posting New Book</h1>
	</div>

	<?php echo form_open_multipart("admin/addBook",'class="form-horizontal"');?>
		<div class="form-group no_margin_button">
			<div class="col-md-12">
				<table class="table tbl_no_top">
					<tr>
						<td width="100"><label for="firstName" class="control-label ">Book Title <span class="red bold">*</span> </label></td>
						<td>
							<?php echo form_input('bookName',set_value('bookName'),'class="form-control  input-sm " placeholder="Book Name"'); ?>
							<span class="red bold"> <?php echo form_error('bookName'); ?></span>
						</td>
						<td width="100">
							<?php
								$arrJobTime = array("0"=>"Pending","1"=>"Public");
							?>
							<?php echo form_dropdown('label',$arrJobTime,set_value('label'),'class="form-control  input-sm "'); ?>
						</td>
						<td width="50">

							<?php echo form_submit('submit','Save','class="btn btn_save btn-info" placeholder="Contact Person"'); ?>
						</td>
					</tr>
					<tr>
						<td>Price<span class="red bold">*</span> </td>
						<td>	
							<?php echo form_input('price',set_value('price'),'class="form-control  input-sm " placeholder="Price"'); ?>
							<span class="red bold"> <?php echo form_error('price'); ?></span>
						</td>					
						<td colspan="2">
							<input type="file" name="userfile" value="" class="" size="20" />
							<span class="red bold"> <?php echo $errorImg; ?></span>
						</td>

					</tr>
					<tr>
							<td>Shipping<span class="red bold">*</span> </td>
						<td>	
							<?php echo form_input('shipping',set_value('shipping'),'class="form-control  input-sm " placeholder="Shipping"'); ?>
							<span class="red bold"> <?php echo form_error('shipping'); ?></span>
						</td>
						
					</tr>
				</table>
			</div>
		</div>
		<div class="form-group no_margin_button">
		    <div class="col-sm-12">
		    	
			    <?php //echo form_textarea('detial','','class="form-control detail_mce  input-sm " placeholder="Detail Book"'); ?>
			    <textarea name="txtComDese" class="detail_mce"style="width:539px; height:112px; max-width:539px;"></textarea><script>CKEDITOR.replace( 'txtComDese' );</script>	  	
		   </div>     
		</div>	
		<?php echo form_close(); ?>		
	</div>
</div>